package com.lzw.service.admin;

import com.lzw.pojo.Building;

import java.util.List;

public interface BuildingManagementService {
    List<Building> listBuildings(Integer pageNum, Integer pageSize, String name, String address);

    boolean isNameExist(String name);

    void addBuilding(Building building);

    void deleteBuilding(List<Integer> ids);

    Building getBuildingById(int id);

    void updateBuilding(Building building);
}
